using System;
using System.Collections.Generic;
using System.Data;
namespace AppToolKit.Data
{
	public class DbCommandQuery : IDbQuery
	{
		private object[] args_;
		private CommandType commandType_ = CommandType.Text;
		private List<QueryParameter> parameters_;
		public CommandType CommandType
		{
			get
			{
				return this.commandType_;
			}
			set
			{
				this.commandType_ = value;
			}
		}
		public string Query
		{
			get;
			set;
		}
		public List<QueryParameter> Parameters
		{
			get
			{
				if (this.parameters_ == null)
				{
					this.parameters_ = new List<QueryParameter>();
				}
				return this.parameters_;
			}
		}
	}
}
